package com.resou.reader.bookshelf.readhistory;

import com.resou.reader.base.BaseView;
import com.resou.reader.bookshelf.readhistory.datasupport.ReaderHistory;
import com.resou.reader.data.bookshelf.model.ReadRecord;
import com.scwang.smartrefresh.layout.SmartRefreshLayout;

import java.util.List;

/**
 * Created by ${Garrett} on 2018/9/16.
 * Contact me krouky@outlook.com
 */
public interface IReadHistoryView extends BaseView {

    void setReadHistory(List<ReaderHistory> readHistory);

    void addReadHistory(List<ReaderHistory> readHistory);

    void setRemoteRecord(List<ReadRecord.ReadRecordBean> remoteRecord);

//    void addRemoteRecord(List<ReadRecord.ReadRecordBean> remoteRecord);

    void finishRefresh();

    SmartRefreshLayout getSmartRefreshLayout();
}
